﻿namespace Chimp.Core
{
    public class ChimpEventHandler
    {
        public virtual void OnBeforeRender(ChimpWidget w)
        {
        }

        public virtual void OnAfterRender(ChimpWidget w)
        {
        }

        public virtual void OnClick(ChimpWidget w, int b)
        {
        }

        public virtual void OnDrag(ChimpWidget w, float x, float y, int b)
        {
        }

        public virtual void OnMouseDown(ChimpWidget w, int b)
        {
        }

        public virtual void OnMouseUp(ChimpWidget w, int b)
        {
        }

        public virtual void OnMouse(ChimpWidget w, int b)
        {
        }

        public virtual void OnMouseMove(ChimpWidget w, float x, float y, float xi, float yi)
        {
        }
    }
}